public class TestDriver {

	private static PriorityQueue<String> pq = new PriorityQueue<String>(
			new MyStringComparator());

	public static void main(String[] args) {
		
		
		pq.enqueue("luzifer");
		pq.enqueue("zorro");
		pq.enqueue("anna1");
		pq.enqueue("benny");
		pq.enqueue("aanna2");
		

		System.out.println(pq.dequeue());
		System.out.println(pq.isEmpty());
	}
}
